<template>
  <j-modal
    :title="title"
    :width="width"
    :visible="visible"
    switchFullscreen
    @ok="handleOk"
    :okButtonProps="{ class:{'jee-hidden': disableSubmit} }"
    @cancel="handleCancel"
    cancelText="关闭">
    <JrsjInterphaseList ref="jrsjInterphaseList" :disabled="disableSubmit"></JrsjInterphaseList>
  </j-modal>
</template>

<script>

import JrsjInterphaseList from './JrsjInterphaseList'
export default {
  name: 'JrsjInterphaseListModal',
  components: {
    JrsjInterphaseList
  },
  data () {
    return {
      title:'',
      width:948,
      visible: false,
      disableSubmit: false
    }
  },
  methods: {
    show (sign,sjrq) {
      this.visible=true
      this.$nextTick(()=>{
        this.$refs.jrsjInterphaseList.searchQuery1(sign,sjrq);
      })
    },
    close () {
      this.$emit('close');
      this.visible = false;
    },
    handleOk () {
    },
    handleCancel () {
      this.close();
    }
  }
}
</script>